projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
474ed78
)
Don't displace background for spinbuttons in the theming engine
author
Carlos Garnacho
<carlosg@gnome.org>
Tue, 18 Jan 2011 18:39:09 +0000
(19:39 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Wed, 19 Jan 2011 03:28:48 +0000
(
04:28
+0100)
This is a leftover from the older GtkStyle code, this is handled
through CSS spacings instead.
gtk/gtkthemingengine.c
patch
|
blob
|
history
diff --git
a/gtk/gtkthemingengine.c
b/gtk/gtkthemingengine.c
index e2e78e4a92c5754d240e70777a4593f7ba00ecc6..80b02b0e6b5ca65cf9b0f4beeb0323d2fb97c6f4 100644
(file)
--- a/
gtk/gtkthemingengine.c
+++ b/
gtk/gtkthemingengine.c
@@
-1731,15
+1731,6
@@
gtk_theming_engine_render_background (GtkThemingEngine *engine,
junction = gtk_theming_engine_get_junction_sides (engine);
- if (gtk_theming_engine_has_class (engine, "spinbutton") &&
- gtk_theming_engine_has_class (engine, "button"))
- {
- x += 2;
- y += 2;
- width -= 4;
- height -= 4;
- }
-
flags = gtk_theming_engine_get_state (engine);
gtk_theming_engine_get (engine, flags,
"border-width", &border,